			<div id="ajax_loader" style="display:none;" align="center"><img src="{$currentPage}application/images/ajax-loader.gif" border="0"></div>
<div id="send_result"></div>
<div id="send_message_div">
			<form name="send_form" method="post">
			<table class="b_a" style="margin-bottom: 10px;" cellpadding="4" cellspacing="0" width="100%">
			<tbody>
			<tr>
				<td>
					<div style="color: rgb(255, 51, 51); padding-bottom: 0px;"></div>
				</td>
			</tr>
			<tr>
				<td>
					<table cellpadding="4" cellspacing="0" width="100%">
						<tbody>


						<tr>
							<td class="form1" valign="top"><div style="padding-right: 60px;"></div></td>
							<td class="form2">
							<input id="mailTo" type="hidden" name="mailTo" value="{$action_name}" readonly>
							<input id="mailSubject" name="mailSubject" value="re: {$action_subject}" type="hidden">
							{$insert_smiley}
							<textarea name="mailContent" rows="6" style="width: 100%;" id="mailContent" onkeypress="ctrlEnter(event);"></textarea></td>
						</tr>
						
						<tr>
						<td><div style="padding: 0px 75px 75px 75px;"></td>
							<td colspan="2">{$smiley_table}</td>
						</tr>
						
						<tr>
							<td class="form1"></td>
							<td class="form2">
							<div class="form-submit">
							<input value="Відповісти" type="button" name="submitbutton" class="form-submit round-btn" onClick="sendMessage('{$action_id}','{$action_type}','{$currentPage}');">
							<input value="Відхилити" type="button" class="form-submit round-btn" onClick="window.location='{$currentPage}messages/inbox';">
							</div>
							</td>
						</tr>
						</tbody>
					</table>
				</td>
			</tr>
			</tbody>
			</table>
			</form>
			</div>
